#include "EntityProperty.h"

PROPERTY_SOURCE(EntityProperty,App::PropertyContainer)

EntityProperty::EntityProperty()
{

}
EntityProperty::EntityProperty(const char* name)
:_name(name)
{
}

EntityProperty::~EntityProperty(void)
{
}

void EntityProperty::addProperty(EntityProperty* pro)
{
	_topList.push_back(pro);
}
void EntityProperty::setProperty()
{
	for (std::vector<EntityProperty*>::iterator it = _topList.begin(); it != _topList.end(); it++)
	{
		(*it)->setProperty();
	}
}
